home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d27 / inter490.arc / MEMORY.LST < prev    next >
File List  |  1990-08-04  |  21KB  |  488 lines

  1. [This file was provided by Robin Walker.  I have not yet made any changes
  2.  other than this note.    --Ralf]
  3.  
  4. Format of BIOS Data Segment at segment 40h:
  5.         {items in curly braces not documented by IBM}
  6. Offset    Size    Description
  7.  00h    WORD    Base I/O address of 1st serial I/O port, zero if none
  8.  02h    WORD    Base I/O address of 2nd serial I/O port, zero if none
  9.  O4h    WORD    Base I/O address of 3rd serial I/O port, zero if none
  10.  06h    WORD    Base I/O address of 4th serial I/O port, zero if none
  11.             Note: Above fields filled in turn by POST as it finds serial
  12.             ports. POST never leaves gaps. DOS and BIOS serial device
  13.             numbers may be redefined by re-assigning these fields.
  14.  08h    WORD    Base I/O address of 1st parallel I/O port, zero if none
  15.  0Ah    WORD    Base I/O address of 2nd parallel I/O port, zero if none
  16.  0Ch    WORD    Base I/O address of 3rd parallel I/O port, zero if none
  17.  0Eh    WORD    [non-PS] Base I/O address of 4th parallel I/O port, zero if none
  18.         [PS] Segment of Extended BIOS Data Segment
  19.             Note: Above fields filled in turn by POST as it finds
  20.             parallel ports. POST never leaves gaps. DOS and BIOS
  21.             parallel device numbers may de redefined by re-assigning
  22.             these fields.
  23.  10h    WORD    Installed hardware:
  24.             bits 15-14: number of parallel devices
  25.             bit     13: [Conv] Internal modem
  26.             bit     12: reserved
  27.             bits 11- 9: number of serial devices
  28.             bit      8: reserved
  29.             bits  7- 6: number of diskette drives minus one
  30.             bits  5- 4: Initial video mode:
  31.                     00b = EGA,VGA,PGA
  32.                     01b = 40 x 25 color
  33.                     10b = 80 x 25 color
  34.                     11b = 80 x 25 mono
  35.             bit      3: reserved
  36.             bit      2: [PS] =1 if pointing device
  37.                 [non-PS] reserved
  38.             bit      1: =1 if math co-processor
  39.             bit      0: =1 if diskette available for boot
  40.  12h    BYTE    [Conv] POST status
  41.         [AT] {Manufacturing test initialisation flags}
  42.  13h    WORD    Base memory size in kbytes (0-640)
  43.  15h    BYTE    [AT] {Manufacturing test scratch pad}
  44.  16h    BYTE    [AT] {Manufacturing test scratch pad}
  45.         [PS/2 Mod 30] BIOS control flags
  46.  17h    BYTE    Keyboard status flags 1:
  47.             bit 7 =1 INSert active
  48.             bit 6 =1 Caps Lock active
  49.             bit 5 =1 Num Lock active
  50.             bit 4 =1 Scroll Lock active
  51.             bit 3 =1 either Alt pressed
  52.             bit 2 =1 either Ctrl pressed
  53.             bit 1 =1 Left Shift pressed
  54.             bit 0 =1 Right Shift pressed
  55.  18h    BYTE    Keyboard status flags 2:
  56.             bit 7 =1 INSert pressed
  57.             bit 6 =1 Caps Lock pressed
  58.             bit 5 =1 Num Lock pressed
  59.             bit 4 =1 Scroll Lock pressed
  60.             bit 3 =1 Pause state active
  61.             bit 2 =1 Sys Req pressed
  62.             bit 1 =1 Left Alt pressed
  63.             bit 0 =1 Left Ctrl pressed
  64.  19h    BYTE    Keyboard: Alt-nnn keypad workspace
  65.  1Ah    WORD    Keyboard: ptr to next character in keyboard buffer
  66.  1Ch    WORD    Keyboard: ptr to first free slot in keyboard buffer
  67.  1Eh 16 WORDS    Keyboard circular buffer (but see 80h, 82h for override)
  68.  3Eh    BYTE    Diskette recalibrate status:
  69.             bit 7 =1 Diskette hardware interrupt occurred
  70.             bits 6-4 reserved
  71.             bit 3 =1 Recalibrate diskette 3
  72.             bit 2 =1 Recalibrate diskette 2
  73.             bit 1 =1 Recalibrate diskette 1
  74.             bit 0 =1 Recalibrate diskette 0
  75.  3Fh    BYTE    Diskette motor status:
  76.             bit 7 =1 current operation is write or format
  77.               =0 current operation is read or verify
  78.             bit 6    reserved
  79.             bits 5-4 diskette drive number selected (0-3)
  80.             bit 3 =1 diskette 3 motor on
  81.             bit 2 =1 diskette 2 motor on
  82.             bit 1 =1 diskette 1 motor on
  83.             bit 0 =1 diskette 0 motor on
  84.  40h    BYTE    Diskette motor turn-off time-out count
  85.  41h    BYTE    Diskette last operation status (0 = OK)
  86.             bit 7 =1 drive not ready
  87.             bit 6 =1 seek error
  88.             bit 5 =1 general controller failure
  89.             bits 4-0:
  90.                 00h no error
  91.                 01h invalid request
  92.                 02h address mark not found
  93.                 03h write-protect error
  94.                 04h sector not found
  95.                 06h diskette change line active
  96.                 08h DMA overrun
  97.                 09h DMA across 64k boundary
  98.                 0Ch media type unknown
  99.                 10h CRC error on read
  100.  42h  7 BYTES    Diskette/Fixed disk status/command bytes
  101.  49h    BYTE    Video current mode
  102.  4Ah    WORD    Video columns on screen
  103.  4Ch    WORD    Video page (regen buffer) size in bytes
  104.  4Eh    WORD    Video current page start address in regen buffer
  105.  50h 16 BYTES    Video cursor position (col, row) for eight pages, 0 based
  106.  60h    WORD    Video cursor type, 6845 compatible, hi=startline, lo=endline
  107.  62h    BYTE    Video current page number
  108.  63h    WORD    Video CRT controller base address: color=03D4h, mono=03B4h
  109.  65h    BYTE    Video current setting of mode select register 03D8h/03B8h
  110.  66h    BYTE    Video current setting of CGA palette register 03D9h
  111.  67h    DWORD    POST real mode re-entry point after certain resets
  112.  6Bh    BYTE    POST last unexpected interrupt
  113.  6Ch    DWORD    Timer ticks since midnight
  114.  70h    BYTE    Timer overflow, non-zero if has counted past midnight
  115.  71h    BYTE    Ctrl-Break flag: bit 7=1
  116.  72h    WORD    POST reset flag:
  117.             = 1234h if to bypass memory test (warm boot)
  118.             = 4321h [PS/2 MCA only] if to preserve memory
  119.             = 5678h [Conv] system suspended
  120.             = 9ABCh [Conv] manufacturing test mode
  121.             = ABCDh [Conv] POST loop mode
  122.             =    64h Burn-in mode
  123.  74h    BYTE    Fixed disk last operation status: {except ESDI drives}
  124.             00h no error
  125.             01h invalid function request
  126.             02h address mark not found
  127.             03h write protect error
  128.             04h sector not found
  129.             05h reset failed
  130.             07h drive parameter activity failed
  131.             08h DMA overrun
  132.             09h DMA data boundary error
  133.             0Ah bad sector flag detected
  134.             0Bh bad track detected
  135.             0Dh invalid number of sectors for Format
  136.             0Eh control data address mark detected
  137.             0Fh DMA arbitration level out of range
  138.             10h uncorrectable ECC or CRC error
  139.             11h ECC corrected data error
  140.             20h general controller failed
  141.             40h seek failed
  142.             80h time out
  143.             AAh drive not ready
  144.             BBh undefined error
  145.             CCh write fault on selected drive
  146.             E0h status error/error register is zero
  147.             FFh sense failed
  148.  75h    BYTE    Fixed disk: number of fixed disk drives
  149.  76h    BYTE    Fixed disk: control byte    {IBM document only for XT}
  150.  77h    BYTE    Fixed disk: I/O port offset {IBM document only for XT}
  151.  78h  4 BYTES    Parallel devices 1-4 time-out counters [PS: only 1-3]
  152.  7Ch  4 BYTES    Serial devices 1-4 time-out counters
  153.  80h    WORD    Keyboard buffer start as offset from segment 40h (normally 1Eh)
  154.  82h    WORD    Keyboard buffer end+1 as offset from segment 40h (normally 3Eh)
  155.         [XT BIOS dated 11/08/82 ends here]
  156.  84h    BYTE    Video EGA/MCGA/VGA rows on screen minus one
  157.  85h    WORD    Video EGA/MCGA/VGA character height in scan-lines
  158.  87h    BYTE    Video EGA/VGA control: [MCGA: =00h]
  159.             bit 7:  =1 if not to clear RAM (see INT 10h, AH=00h)
  160.             bits 6-5: RAM on adapter = (this field + 1) * 64K
  161.             bit 4:  reserved
  162.             bit 3:  =0 if EGA/VGA video system active, =1 if inactive
  163.             bit 2:  =1 if to wait for display enable (what means this?)
  164.             bit 1:  =0 for color or ECD monitor, =1 for mono monitor
  165.             bit 0:  =0 alphanumeric cursor emulation enabled, =1 not.
  166.                 When enabled, text mode cursor size (INT 10,AH=01h)
  167.                 settings looking like CGA ones are translated to
  168.                 equivalent EGA/VGA ones.
  169.  88h    BYTE    Video EGA/VGA switches: [MCGA: reserved]
  170.             bits 7-4: power-on state of feature connector bits 3-0
  171.             bits 3-0: configuration switches 4-1 (=0 on, =1 off)
  172.               Values as read:
  173.             0h Pri MDA,        Sec EGA+old color display 40 x 25
  174.             1h Pri MDA,        Sec EGA+old color display 80 x 25
  175.             2h Pri MDA,        Sec EGA+ECD normal mode (CGA emul)
  176.             3h Pri MDA,        Sec EGA+ECD enhanced mode
  177.             4h Pri CGA 40 x 25, Sec EGA mono display
  178.             5h Pri CGA 80 x 25, Sec EGA mono display
  179.             6h Pri EGA+old color display 40 x 25,  Sec MDA
  180.             7h Pri EGA+old color display 80 x 25,  Sec MDA
  181.             8h Pri EGA+ECD normal mode (CGA emul), Sec MDA
  182.             9h Pri EGA+ECD enhanced mode,           Sec MDA
  183.             Ah Pri EGA mono display,           Sec CGA 40 x 25
  184.             Bh Pri EGA mono display,           Sec CGA 80 x 25
  185.             When bit4 of 40h:89h is 0, VGA emulates 350-line EGA if
  186.             this byte is x3h or x9h, otherwise emulates 200-line CGA in
  187.             400-line double scan. VGA resets this byte to x9h after the
  188.             mode set.
  189.  89h    BYTE    Video MCGA/VGA mode-set option control:
  190.             bits 7 and 4:
  191.             0 0  350-line mode requested
  192.             0 1  400-line mode at next mode set
  193.             1 0  200-line mode requested
  194.             1 1  reserved
  195.             Apparently VGA BIOS mode set disregards bit 7 and uses
  196.             byte 40h:88h to determine 200/350 selection when bit 4
  197.             is zero. Presumably bit 7 is a convenience for other
  198.             purposes. Bit 7 is reset to zero after the mode set.
  199.             bit 6:  =1 if display switching enabled, =0 if disabled
  200.             bit 5:  reserved
  201.             bit 4:  [VGA]  =1 if to use 400-line mode at next mode set
  202.                    =0 if to emulate EGA at next mode set
  203.                       This bit set to 1 after the mode set.
  204.                 [MCGA] =1 use 400-line mode at next mode set
  205.                    =0 emulate CGA, digital monitor, 200 lines,
  206.                       8 x 8 text font at next mode set
  207.                       Bit unchanged by mode set.
  208.             bit 3:  =0 if default palette loading enabled at mode set
  209.             bit 2:  =1 if mono display, =0 if color display
  210.             bit 1:  =1 if gray scale summing enabled, =0 if disabled
  211.             bit 0:  [VGA] =1 if VGA active, =0 if not
  212.                 [MCGA] reserved, zero
  213.  8Ah    BYTE    Video [MCGA/VGA]: index into Display Combination Code table
  214.  8Bh    BYTE    Diskette media control [not XT]:
  215.             bits 7-6: Last data rate set by controller:
  216.                   00=500kbps, 01=300kbps, 10=250kbps, 11=reserved
  217.             bits 5-4: Last diskette drive step rate selected
  218.             bits 3-2: {Data rate at start of operation}
  219.             bits 1-0: reserved
  220.  8Ch    BYTE    Fixed disk controller status [not XT]
  221.  8Dh    BYTE    Fixed disk controller Error Status [not XT]
  222.  8Eh    BYTE    Fixed disk Interrupt Control [not XT]
  223.  8Fh    BYTE    Diskette controller information [not XT]:
  224.             bit 7:  reserved
  225.             bit 6:  =1 drive 1 determined
  226.             bit 5:  =1 drive 1 is multi-rate, valid if drive determined
  227.             bit 4:  =1 drive 1 supports 80 tracks, always valid
  228.             bit 3:  reserved
  229.             bit 2:  =1 drive 0 determined
  230.             bit 1:  =1 drive 0 is multi-rate, valid if drive determined
  231.             bit 0:  =1 drive 0 supports 80 tracks, always valid
  232.  90h    BYTE    Diskette drive 0 media state
  233.  91h    BYTE    Diskette drive 1 media state
  234.             bits 7-6: Data rate: 00=500kbps, 01=300kbps, 10=250kbps
  235.             bit    5: =1 if double stepping reqd (e.g. 360kB in 1.2MB)
  236.             bit    4: =1 if media established
  237.             bit    3: reserved
  238.             bits 2-0: on exit from BIOS, contain:
  239.                 000 trying 360kB in 360kB
  240.                 001 trying 360kB in 1.2MB
  241.                 010 trying 1.2MB in 1.2MB
  242.                 011 360kB in 360kB established
  243.                 100 360kB in 1.2MB established
  244.                 101 1.2MB in 1.2MB established
  245.                 110 reserved
  246.                 111 all other formats/drives
  247.  92h    BYTE    Diskette drive 0 media state at start of operation
  248.  93h    BYTE    Diskette drive 1 media state at start of operation
  249.  94h    BYTE    Diskette drive 0 current track number
  250.  95h    BYTE    Diskette drive 1 current track number
  251.  96h    BYTE    Keyboard status byte 3
  252.             bit 7 =1 read-ID in progress
  253.             bit 6 =1 last code read was first of two ID codes
  254.             bit 5 =1 force Num Lock if read-ID and enhanced keyboard
  255.             bit 4 =1 enhanced keyboard installed
  256.             bit 3 =1 Right Alt pressed
  257.             bit 2 =1 Right Ctrl pressed
  258.             bit 1 =1 last code read was E0h
  259.             bit 1 =1 last code read was E1h
  260.  97h    BYTE    Keyboard status byte 2
  261.             bit 7 =1 keyboard transmit error flag
  262.             bit 6 =1 LED update in progress
  263.             bit 5 =1 RESEND received from keyboard
  264.             bit 4 =1 ACK received from keyboard
  265.             bit 3 reserved, must be zero
  266.             bit 2 Caps Lock LED
  267.             bit 1 Num Lock LED
  268.             bit 0 Scroll Lock LED
  269.  98h    DWORD    Timer2: [AT, PS exc Mod 30] ptr to user wait-complete flag
  270.                         (see INT 15, AX=8300h)
  271.  9Ch    DWORD    Timer2: [AT, PS exc Mod 30] user wait count in microseconds
  272.  A0h    BYTE    Timer2: [AT, PS exc Mod 30] Wait active flag:
  273.             bit 7 =1 wait time elapsed
  274.             bits 6-1 reserved
  275.             bit 0 =1 INT 15h, AH=86h has occurred
  276.  A1h  7 BYTES    reserved for network adapters (oh really?)
  277.  A4h    DWORD    [PS/2 Mod 30] Saved Fixed Disk Interrupt Vector
  278.  A8h    DWORD    Video: EGA/MCGA/VGA ptr to Video Save Pointer Table (see below)
  279.  ACh-AFh    reserved
  280.  B0h    DWORD    ptr to 3363 Optical disk driver or BIOS entry point.
  281.             When 3363 BIOS present, the signature "OPTIC ",00h occurs 3
  282.             bytes beyond this entry point.
  283.             When 3363 BIOS and 3363 File System Driver present, the
  284.             signature "FILE SYSTEM DRIVER",00h occurs 3 bytes beyond
  285.             this entry point.
  286.  B4h    WORD    reserved
  287.  B6h  3 BYTES    reserved for POST?
  288.  B9h  7 BYTES    ???
  289.  C0h 14 BYTES    reserved
  290.  CEh    WORD    count of days since last boot?
  291.  D0h-EFh    reserved
  292.  F0h-FFh    reserved for user
  293. 100h    BYTE    Print Screen Status byte
  294.  
  295. Format of Extended BIOS Data Area (see 40:0Eh for ptr) [PS only]
  296. Offset    Size    Description
  297.  00h    BYTE    Length of EBDA in kilobytes
  298.  01h 15 BYTES    reserved
  299.  17h    BYTE    Number of entries in POST error log (0-5)
  300.  18h  5 WORDS    POST error log (each word is a POST error number)
  301.  19h-21h    reserved
  302.  22h    DWORD    Pointing Device Driver entry point
  303.  26h    BYTE    Pointing Device Flags 1
  304.            bit 7:    =1 command in progress
  305.            bit 6:    =1 resend
  306.            bit 5:    =1 acknowledge
  307.            bit 4:    =1 error
  308.            bit 3:    =0 reserved
  309.            bits 2-0: index count
  310.  27h    BYTE    Pointing Device Flags 2
  311.            bit 7:    =1 device driver far call flag
  312.            bits 6-3: reserved
  313.            bits 2-0: package size
  314.  28h  7 BYTES    Pointing Device Auxiliary Device Data
  315.  2Fh    BYTE    reserved
  316.  30h    DWORD    Vector for INT 07h stored here during 80387 interrupt
  317.  34h    DWORD    Vector for INT 01h stored here during INT 07h emulation
  318.  38h    BYTE    Scratchpad for 80287/80387 interrupt code
  319.  39h    WORD    Timer3: Watchdog timer initial count
  320.  3Bh    BYTE    ??? seen non-zero on Model 30
  321.  3Ch    BYTE    ???
  322.  3Dh 16 BYTES    Fixed Disk parameter table for drive 0 (oh really?)
  323.  4Dh 16 BYTES    Fixed Disk parameter table for drive 1 (oh really?)
  324.             Neither of above seen on any Model 30, 50, 60 yet.
  325.  5Dh-6Bh    ???
  326.  6Ch    BYTE    Fixed disk: (=FFh on ESDI systems)
  327.             bits 7-4: Channel number 00-0Fh
  328.             bits 3-0: DMA arbitration level 00-0Eh
  329.  6Dh and up:    ??? seen non-zero on Model 60
  330. 3F0h    BYTE    Fixed disk buffer (???!!!)
  331.  
  332. Format of Video Save Pointer Table [EGA/VGA/MCGA only]:
  333. Offset    Size    Description
  334.  00h    DWORD    ptr to Video Parameter Table
  335.  04h    DWORD    ptr to Parameter Dynamic Save Area, else 0 [EGA/VGA only]
  336.  08h    DWORD    ptr to Alphanumeric Character Set Override, else 0
  337.  0Ch    DWORD    ptr to Graphics Character Set Override, else 0
  338.  10h    DWORD    [VGA only] ptr to Secondary Save Pointer Table, must be valid
  339.  14h    DWORD    reserved, zero
  340.  18h    DWORD    reserved, zero
  341. Note: table initially in ROM, copy to RAM to alter, then update 40h:A8h.
  342.  
  343. Format of Secondary Video Save Pointer Table [VGA only]:
  344. Offset    Size    Description
  345.  00h    WORD    Length of this table in bytes, including this word (1Ah)
  346.  02h    DWORD    ptr to Display Combination Code Table, must be valid
  347.  06h    DWORD    ptr to second Alphanumeric Character Set Override, else 0
  348.  0Ah    DWORD    ptr to User Palette Profile Table, else 0
  349.  0Eh    DWORD    reserved, zero
  350.  12h    DWORD    reserved, zero
  351.  16h    DWORD    reserved, zero
  352. Note: table initially in ROM, copy to RAM to alter, then alter Save Ptr Table.
  353.  
  354. Format of Video Parameter Table [EGA, VGA only]:
  355. An array of 23 [EGA] or 29 [VGA] elements, each element being 64 bytes long.
  356. Elements appear in the order:
  357.  00h-03h    Modes 00h-03h in 200-line CGA emulation mode
  358.  04h-0Eh    Modes 04h-0Eh
  359.  0Fh-10h    Modes 0Fh-10h when only 64kB RAM on adapter
  360.  11h-12h    Modes 0Fh-10h when >64kB RAM on adapter
  361.  13h-16h    Modes 00h-03h in 350-line mode
  362.  17h        VGA Modes 00h or 01h in 400-line mode
  363.  18h        VGA Modes 02h or 03h in 400-line mode
  364.  19h        VGA Mode  07h in 400-line mode
  365.  1Ah-1Ch    VGA Modes 11h-13h
  366.  
  367. Format of Video Parameter Table element [EGA, VGA only]:
  368. Offset    Size    Description
  369.  00h    BYTE    Columns on screen          (see 40h:4Ah)
  370.  01h    BYTE    Rows on screen minus one      (see 40h:84h)
  371.  02h    BYTE    Height of character in scan lines (see 40h:85h)
  372.  03h    WORD    Size of video buffer          (see 40h:4Ch)
  373.  05h  4 BYTES    Values for Sequencer Registers 1-4
  374.  09h    BYTE    Value for Miscellaneous Output Register
  375.  0Ah 25 BYTES    Values for CRTC Registers 00h-18h
  376.  23h 20 BYTES    Values for Attribute Controller Registers 00h-13h
  377.  37h  9 BYTES    Values for Graphics Controller Registers 00h-08h
  378.  
  379. Format of Video Parameter Table [MCGA only] {guesswork from inspection}:
  380.     - 16 triplet BYTEs of R,G,B DAC info for 16 colors;
  381.     - An array of 11 elements, each element being 32 bytes long.
  382.       Elements appear in the order:
  383.         Modes 00h,01h in 200-line mode for digital displays
  384.         Modes 00h,01h in 400-line mode for analog displays
  385.         Modes 02h,03h in 200-line mode for digital displays
  386.         Modes 02h,03h in 400-line mode for analog displays
  387.         Modes 04h,05h in 200-line mode for digital displays
  388.         Modes 04h,05h in 400-line mode for analog displays
  389.         Mode  06h in 200-line mode for digital displays
  390.         Mode  06h in 400-line mode for analog displays
  391.         Mode  11h
  392.         Mode  13h in 200-line mode for digital displays
  393.         Mode  13h in 400-line mode for analog displays
  394.  
  395. Format of Video Parameter Table element [MCGA only]:
  396. Offset    Size    Description
  397.  00h    BYTE    Columns on screen          (see 40h:4Ah)
  398.  01h    BYTE    Rows on screen minus one      (see 40h:84h)
  399.  02h    BYTE    Height of character in scan lines (see 40h:85h)
  400.  03h    WORD    Size of video buffer          (see 40h:4Ch)
  401.  05h    WORD    ??? always zero
  402.  07h 21 BYTES    Video data registers 00h-14h to port 3D5h indexed by 3D4h
  403.  1Ch    BYTE    PEL Mask to port 3C6h
  404.  1Dh    BYTE    CGA Mode Control to port 3D8h
  405.  1Eh    BYTE    CGA Border Control to port 3D9h
  406.  1Fh    BYTE    Extended Mode Control to port 3DDh
  407.  
  408. Format of Video Parameter Dynamic Save Area [EGA, VGA only]:
  409. Offset    Size    Description
  410.  00h 16 BYTES    Last data written to Attribute Controller Palette Registers 0-15
  411.  10h    BYTE    Last data written to Attribute Controller Overscan Register
  412.  11h-FFh    Reserved
  413.         Note: Need for table was that EGA registers were write-only.
  414.         Note: If default values (from the Video Parameter Table) are
  415.               over-ridden at a mode set by the VGA User Palette Profile
  416.               Table, then the Dynamic Save Area is updated with the
  417.               default values, not the User Profile ones.
  418.  
  419. Format of Alphanumeric Character Set Override:
  420. Offset    Size    Description
  421.  00h    BYTE    Length in bytes of each character in font table
  422.  01h    BYTE    Character generator RAM bank to load, 0=normal
  423.  02h    WORD    Number of characters in font table, normally 256
  424.  04h    WORD    Code of first character in font table, normally 0
  425.  06h    DWORD    ptr to font table
  426.  0Ah    BYTE    Displayable rows (FFh=use maximum calculated value)
  427.  0Bh    BYTES    Array of mode values to which this font is to pertain
  428.     BYTE    FFh end of array
  429.  
  430. Format of Second Alphanumeric Character Set Override:
  431. Authorities differ, some say same as first override above, but IBM say:
  432. Offset    Size    Description
  433.  00h    BYTE    Length in bytes of each character in font table
  434.  01h    BYTE    Character generator RAM bank to load, normally non-zero
  435.  02h    BYTE    reserved
  436.  03h    DWORD    ptr to font table
  437.  07h    BYTES    Array of mode values to which this font is to pertain
  438.     BYTE    FFh end of array
  439.  
  440. Format of Graphics Character Set Override:
  441. Offset    Size    Description
  442.  00h    BYTE    Number of displayable character rows
  443.  01h    WORD    Length in bytes of each character in font table
  444.  03h    DWORD    ptr to font table
  445.  07h    BYTES    Array of mode values to which this font is to pertain
  446.     BYTE    FFh end of array
  447.  
  448. Format of Display Combination Code Table [VGA only]:
  449. Offset    Size    Description
  450.  00h    BYTE    Number of entries in the DCC table at offset 04h
  451.  01h    BYTE    Version number
  452.  02h    BYTE    Maximum display type code that can appear in DCC table
  453.  03h    BYTE    reserved
  454.  04h    ARRAY OF 2 BYTES Each pair of bytes gives a valid display combination
  455.             Meaning of each byte:
  456.             00h    no display
  457.             01h    MDA with mono display
  458.             02h    CGA with color display
  459.             03h    reserved
  460.             04h    EGA with color display
  461.             05h    EGA with mono display
  462.             06h    Professional Graphics Controller
  463.             07h    VGA with mono display
  464.             08h    VGA with color display
  465.             09h    reserved
  466.             0Ah    MCGA with digital color display
  467.             0Bh    MCGA with analog mono display
  468.             0Ch    MCGA with analog color display
  469.             FFh    unrecognised video system
  470.  
  471. Format of User Palette Profile Table [VGA only]:
  472. Offset    Size    Description
  473.  00h    BYTE    Underlining: 01h=enable in all alphanumeric modes
  474.                  00h=enable in monochrome alphanumeric modes only
  475.                  FFh=disable in all alphanumeric modes
  476.  01h    BYTE    reserved
  477.  02h    WORD    reserved
  478.  04h    WORD    Number (0-17) of Attribute Controller registers in table
  479.  06h    WORD    Index (0-16) of first Attribute Controller register in table
  480.  08h    DWORD    ptr to table of Attribute Controller registers to override
  481.             Table is an array of BYTEs.
  482.  0Ch    WORD    Number (0-256) of video DAC Color registers in table
  483.  0Eh    WORD    Index (0-255) of first video DAC Color register in table
  484.  10h    DWORD    ptr to table of video DAC Color registers to override
  485.             Table is ??? triplets ??? of BYTEs???
  486.  14h    BYTES    array of mode values to which this profile is to pertain
  487.     BYTE    FFh end of array
  488.